package com.example.ymm.modules1.mapper.my.user;

import com.example.ymm.base.CoreMapper;
import com.example.ymm.modules1.entity.my.user.DbApprovalLog;
import com.example.ymm.modules1.query.DbApprovalLogQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DbApprovalLogMapper extends CoreMapper<DbApprovalLog> {


    List<DbApprovalLog> ywDeptTotalList(DbApprovalLogQueryCriteria criteria);

    /**
     * 查找当月审批通过 人员的单号
     * @param criteria
     * @return
     */
    String getPassApproveNoByUserName(DbApprovalLogQueryCriteria criteria);

}